package com.eastfair.imaster.dto;

import com.eastfair.core.base.entity.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 嘉宾列表
 * </p>
 *
 * @author zjn
 * @since 2021-11-10
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "SpeakerListUpdateDTO", description = "嘉宾列表")
public class SpeakerListUpdateDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @NotNull(message = "请填写主键", groups = SuperEntity.Update.class)
    private Long id;

    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    /**
     * 列表名称
     */
    @ApiModelProperty(value = "列表名称")
    @Size(max = 256, message = "列表名称长度不能超过256")
    private String name;
    /**
     * 编码
     */
    @ApiModelProperty(value = "编码")
    @Size(max = 256, message = "编码长度不能超过256")
    private String code;
    /**
     * 列表说明
     */
    @ApiModelProperty(value = "列表说明")
    @Size(max = 256, message = "列表说明长度不能超过256")
    private String remark;
    /**
     * 排序方式
     */
    @ApiModelProperty(value = "排序方式")
    @Size(max = 32, message = "排序方式长度不能超过32")
    private String sortOrderType;
    /**
     * 是否启用：1是；0否
     */
    @ApiModelProperty(value = "是否启用：1是；0否")
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    private Integer isDeleted;
}
